/*
 * WxBizConfigMapper.java
 * Copyright(C) WYY
 * All rights reserved.
 * -----------------------------------------------
 * 2019-10-11 Created
 */
package com.project.web.wechat.mapper.app;


import com.project.web.course.mapper.common.BaseMapper;
import com.project.web.wechat.model.app.WxBizConfig;

import java.util.List;

public interface WxBizConfigMapper extends BaseMapper<WxBizConfig, Long> {

    /**
     * 根据企业ID查询企业
     *
     * @param corpId 企业ID
     * @return
     */
    WxBizConfig getByCorpId(String corpId);

    /**
     * 查询所有的企业微信配置
     *
     * @return
     */
    List<WxBizConfig> selectListOfApps();
}